import 'package:flutter/material.dart';
import 'package:flutter_snail/pages/reading/article_item.dart';

/// 推荐信息
class RecommendInfo extends StatelessWidget {
  const RecommendInfo({Key? key, required this.list}) : super(key: key);

  final List<int> list;

  @override
  Widget build(BuildContext context) {
    return SliverList(
      delegate: SliverChildBuilderDelegate(
        (_, index) => const ArticleItem(),
        childCount: list.length,
      ),
    );
  }
}
